package com.didispace.chapter11

import com.spring4all.swagger.EnableSwagger2Doc
import org.mybatis.spring.annotation.MapperScan
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.cache.annotation.EnableCaching

@EnableSwagger2Doc//Swagger2接口文档配置
@SpringBootApplication
@MapperScan("com.didispace.chapter11.mapper")
@EnableCaching//开启缓存
class Chapter11Application

fun main(args: Array<String>) {
	runApplication<Chapter11Application>(*args)
}
